package com.jcw.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.jcw.common.R;
import com.jcw.domain.Employee;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* @author JCW
* @description 针对表【employee(员工信息)】的数据库操作Service
* @createDate 2023-03-27 17:12:44
*/
public interface EmployeeService extends IService<Employee> {

    R<Employee> login(Employee employee);

    R<String> logout();

    R<String> add(Employee employee);

    R<Page> pagination(int page, int pageSize, String name);

    R<Employee> getEmployee(Long id);

    R<String> editEmployee(Employee employee);

}
